package com.exchange.Public;

import android.content.Context;
import android.view.View;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import com.exchange.View.a.e;
import com.exchange.a.a;
import com.exchange.a.b.a;

public class k
{
  public static void a(Context paramContext, View paramView)
  {
    Animation localAnimation = AnimationUtils.loadAnimation(paramContext, com.exchange.View.a.e.a(paramContext));
    localAnimation.setInterpolator(new a(b.a.b, 1F, 1F));
    localAnimation.setDuration(1000L);
    paramView.setVisibility(0);
    localAnimation.setAnimationListener(new e());
    paramView.startAnimation(localAnimation);
  }

  public static void a(View paramView)
  {
    AlphaAnimation localAlphaAnimation = new AlphaAnimation(1F, 0F);
    localAlphaAnimation.setDuration(1000L);
    localAlphaAnimation.setStartTime(200L);
    localAlphaAnimation.setAnimationListener(new c(paramView));
    paramView.startAnimation(localAlphaAnimation);
  }

  public static void b(Context paramContext, View paramView)
  {
    Animation localAnimation = AnimationUtils.loadAnimation(paramContext, com.exchange.View.a.e.c(paramContext));
    localAnimation.setInterpolator(new a(b.a.b, 1F, 1F));
    localAnimation.setDuration(1000L);
    localAnimation.setAnimationListener(new d(paramView));
    paramView.startAnimation(localAnimation);
  }

  public static void b(View paramView)
  {
    AlphaAnimation localAlphaAnimation = new AlphaAnimation(0F, 1F);
    localAlphaAnimation.setDuration(1000L);
    localAlphaAnimation.setStartTime(200L);
    localAlphaAnimation.setAnimationListener(new b(paramView));
    paramView.startAnimation(localAlphaAnimation);
  }
}